package com.libinshen.wxpay.login.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.libinshen.wxpay.login.entity.miniapp.AppAuthLoginRespVO;
import com.libinshen.wxpay.login.entity.miniapp.AuthLoginReqVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author lbs
 */
@Mapper
public interface UserInfoMapper extends BaseMapper<AuthLoginReqVO> {

    Long register(AuthLoginReqVO user);

    AppAuthLoginRespVO getUserByName(String userName);

    AppAuthLoginRespVO selectUserByOpenid(String openid);
}
